package com.mine.yyb.modules.sys.vo;

import com.mine.yyb.common.utils.jdbc.MineBaseVO;

/**
 * <pre>
 * <一句话功能简述>
 * 
 * 日亚报表VO类 
 * 
 * <功能详细描述>
 * </pre>
 * 
 * @author xuganhua 0118
 * @version [版本号, 2017年6月12日]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class RyReportVO extends MineBaseVO
{
    
    public static final String TABLE_NAME = "yyb.t_yyb_sys_ryreport";
    
    /*** serialVersionUID */
    private static final long serialVersionUID = 1L;
    
    /*** 主键 */
    private int id;
    
    /*** 购物网站 */
    private String activity;
    
    /*** 商品信息 */
    private String productName;
    
    /*** 订单号 */
    private String orderID;
    
    /*** 订单日期 */
    private String orderDate;
    
    /*** 购物网站 */
    private String shopSite;
    
    /*** 订单总额 */
    private double price;
    
    /*** 总佣金 */
    private double rebate;
    
    /*** 商品数量 */
    private int count;
    
    /*** 标签1 */
    private String label;
    
    /*** 标签2 */
    private String labelTo;
    
    /*** 订单状态 1、无效 2、有效 3、未认证 */
    private String state;
    
    /*** 创建日期 */
    private String createDate;
    
    /*** 最后更新日期 */
    private String updateDate;
    
    /**
     * 获取 id
     * 
     * @return 返回 id
     */
    public int getId()
    {
        return id;
    }
    
    /**
     * 设置 id
     * 
     * @param 对id进行赋值
     */
    public void setId(int id)
    {
        this.id = id;
    }
    
    /**
     * 获取 activity
     * 
     * @return 返回 activity
     */
    public String getActivity()
    {
        return activity;
    }
    
    /**
     * 设置 activity
     * 
     * @param 对activity进行赋值
     */
    public void setActivity(String activity)
    {
        this.activity = activity;
    }
    
    /**
     * 获取 productName
     * 
     * @return 返回 productName
     */
    public String getProductName()
    {
        return productName;
    }
    
    /**
     * 设置 productName
     * 
     * @param 对productName进行赋值
     */
    public void setProductName(String productName)
    {
        this.productName = productName;
    }
    
    /**
     * 获取 orderID
     * 
     * @return 返回 orderID
     */
    public String getOrderID()
    {
        return orderID;
    }
    
    /**
     * 设置 orderID
     * 
     * @param 对orderID进行赋值
     */
    public void setOrderID(String orderID)
    {
        this.orderID = orderID;
    }
    
    /**
     * 获取 orderDate
     * 
     * @return 返回 orderDate
     */
    public String getOrderDate()
    {
        return orderDate;
    }
    
    /**
     * 设置 orderDate
     * 
     * @param 对orderDate进行赋值
     */
    public void setOrderDate(String orderDate)
    {
        this.orderDate = orderDate;
    }
    
    /**
     * 获取 shopSite
     * 
     * @return 返回 shopSite
     */
    public String getShopSite()
    {
        return shopSite;
    }
    
    /**
     * 设置 shopSite
     * 
     * @param 对shopSite进行赋值
     */
    public void setShopSite(String shopSite)
    {
        this.shopSite = shopSite;
    }
    
    /**
     * 获取 price
     * 
     * @return 返回 price
     */
    public double getPrice()
    {
        return price;
    }
    
    /**
     * 设置 price
     * 
     * @param 对price进行赋值
     */
    public void setPrice(double price)
    {
        this.price = price;
    }
    
    /**
     * 获取 rebate
     * 
     * @return 返回 rebate
     */
    public double getRebate()
    {
        return rebate;
    }
    
    /**
     * 设置 rebate
     * 
     * @param 对rebate进行赋值
     */
    public void setRebate(double rebate)
    {
        this.rebate = rebate;
    }
    
    /**
     * 获取 count
     * 
     * @return 返回 count
     */
    public int getCount()
    {
        return count;
    }
    
    /**
     * 设置 count
     * 
     * @param 对count进行赋值
     */
    public void setCount(int count)
    {
        this.count = count;
    }
    
    /**
     * 获取 label
     * 
     * @return 返回 label
     */
    public String getLabel()
    {
        return label;
    }
    
    /**
     * 设置 label
     * 
     * @param 对label进行赋值
     */
    public void setLabel(String label)
    {
        this.label = label;
    }
    
    /**
     * 获取 labelTo
     * 
     * @return 返回 labelTo
     */
    public String getLabelTo()
    {
        return labelTo;
    }
    
    /**
     * 设置 labelTo
     * 
     * @param 对labelTo进行赋值
     */
    public void setLabelTo(String labelTo)
    {
        this.labelTo = labelTo;
    }
    
    /**
     * 获取 state
     * 
     * @return 返回 state
     */
    public String getState()
    {
        return state;
    }
    
    /**
     * 设置 state
     * 
     * @param 对state进行赋值
     */
    public void setState(String state)
    {
        this.state = state;
    }
    
    /**
     * 获取 createDate
     * 
     * @return 返回 createDate
     */
    public String getCreateDate()
    {
        return createDate;
    }
    
    /**
     * 设置 createDate
     * 
     * @param 对createDate进行赋值
     */
    public void setCreateDate(String createDate)
    {
        this.createDate = createDate;
    }
    
    /**
     * 获取 updateDate
     * 
     * @return 返回 updateDate
     */
    public String getUpdateDate()
    {
        return updateDate;
    }
    
    /**
     * 设置 updateDate
     * 
     * @param 对updateDate进行赋值
     */
    public void setUpdateDate(String updateDate)
    {
        this.updateDate = updateDate;
    }
    
    /**
     * <pre>
     * <一句话功能简述>
     * <功能详细描述>
     * </pre>
     *
     * @author 姓名 工号
     * @version [版本号, 2017年6月28日]
     * @return
     * @see [类、类#方法、类#成员]
     */
    @Override
    public int hashCode()
    {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((activity == null) ? 0 : activity.hashCode());
        result = prime * result + count;
        result = prime * result + ((createDate == null) ? 0 : createDate.hashCode());
        result = prime * result + id;
        result = prime * result + ((label == null) ? 0 : label.hashCode());
        result = prime * result + ((labelTo == null) ? 0 : labelTo.hashCode());
        result = prime * result + ((orderDate == null) ? 0 : orderDate.hashCode());
        result = prime * result + ((orderID == null) ? 0 : orderID.hashCode());
        long temp;
        temp = Double.doubleToLongBits(price);
        result = prime * result + (int)(temp ^ (temp >>> 32));
        result = prime * result + ((productName == null) ? 0 : productName.hashCode());
        temp = Double.doubleToLongBits(rebate);
        result = prime * result + (int)(temp ^ (temp >>> 32));
        result = prime * result + ((shopSite == null) ? 0 : shopSite.hashCode());
        result = prime * result + ((state == null) ? 0 : state.hashCode());
        result = prime * result + ((updateDate == null) ? 0 : updateDate.hashCode());
        return result;
    }
    
    /**
     * <pre>
     * <一句话功能简述>
     * <功能详细描述>
     * </pre>
     *
     * @author 姓名 工号
     * @version [版本号, 2017年6月28日]
     * @param obj
     * @return
     * @see [类、类#方法、类#成员]
     */
    @Override
    public boolean equals(Object obj)
    {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        RyReportVO other = (RyReportVO)obj;
        if (activity == null)
        {
            if (other.activity != null)
                return false;
        }
        else if (!activity.equals(other.activity))
            return false;
        if (count != other.count)
            return false;
        if (createDate == null)
        {
            if (other.createDate != null)
                return false;
        }
        else if (!createDate.equals(other.createDate))
            return false;
        if (id != other.id)
            return false;
        if (label == null)
        {
            if (other.label != null)
                return false;
        }
        else if (!label.equals(other.label))
            return false;
        if (labelTo == null)
        {
            if (other.labelTo != null)
                return false;
        }
        else if (!labelTo.equals(other.labelTo))
            return false;
        if (orderDate == null)
        {
            if (other.orderDate != null)
                return false;
        }
        else if (!orderDate.equals(other.orderDate))
            return false;
        if (orderID == null)
        {
            if (other.orderID != null)
                return false;
        }
        else if (!orderID.equals(other.orderID))
            return false;
        if (Double.doubleToLongBits(price) != Double.doubleToLongBits(other.price))
            return false;
        if (productName == null)
        {
            if (other.productName != null)
                return false;
        }
        else if (!productName.equals(other.productName))
            return false;
        if (Double.doubleToLongBits(rebate) != Double.doubleToLongBits(other.rebate))
            return false;
        if (shopSite == null)
        {
            if (other.shopSite != null)
                return false;
        }
        else if (!shopSite.equals(other.shopSite))
            return false;
        if (state == null)
        {
            if (other.state != null)
                return false;
        }
        else if (!state.equals(other.state))
            return false;
        if (updateDate == null)
        {
            if (other.updateDate != null)
                return false;
        }
        else if (!updateDate.equals(other.updateDate))
            return false;
        return true;
    }
    
    /**
     * <pre>
     * <一句话功能简述>
     * <功能详细描述>
     * </pre>
     *
     * @author 姓名 工号
     * @version [版本号, 2017年6月28日]
     * @return
     * @see [类、类#方法、类#成员]
     */
    @Override
    public String toString()
    {
        return "RyReportVO [id=" + id + ", activity=" + activity + ", productName=" + productName + ", orderID="
            + orderID + ", orderDate=" + orderDate + ", shopSite=" + shopSite + ", price=" + price + ", rebate="
            + rebate + ", count=" + count + ", label=" + label + ", labelTo=" + labelTo + ", state=" + state
            + ", createDate=" + createDate + ", updateDate=" + updateDate + "]";
    }
    
}
